package models
{
	import mx.collections.ArrayCollection;

	public class Watches extends Object
	{
		[Bindable]
		public var watchList:ArrayCollection = new ArrayCollection();
		
		public function Watches()
		{
			super();
		}
		
		public function findWatchByName(name:String):Variable{
			for each(var variable:Variable in watchList){
				if(variable.name == name)
					return variable;
			}
			
			return null;
		}
 
	}
}